post
Retarget template
{{protocol}}://{{url}}/{{version}}/templates/:templateKey/compare/:itemKey
Retarget item's createdFrom with a template
Authenticated. Permissions:
ron the itemKey anddon the source template.
The createdFrom body parameter is an object, where the key is the createdFrom of an item present within a template and its value is the createdFrom of an item present within the target structure.
Find out more in Aquarium's documentation.
Examples :
To only include Task when syncing a template :
{
"createdFrom": {
"12345": "67890"
}
}
Parameters
| Name | Type | Value |
|---|---|---|
| templateKey | path | 277056 |
| itemKey | path | 278053 |
Body
{
"createdFrom": {
"[sourceItem.createdFrom]": "[targetItem.createdFrom]"
}
}